package com.wyl.dtoAndVoTypeByGeneric;

/**
 * @author 吴宇亮 on 2023/4/6 9:25
 */
public class Father1 {

    public Object hello (){
        return null;
    }
}

class Son1 extends Father1 {
    // 继承可以返回值比父类范围小
    @Override
    public String hello() {
        return "";
    }
}
